package com.ipzoe.web.convert;

import com.ipzoe.mem.domain.Member;
import com.ipzoe.web.model.mem.MemberExcelVO;
import com.ipzoe.web.model.mem.MemberListVO;
import com.ipzoe.web.model.mem.MemberVO;
import org.mapstruct.Mappings;
import org.mapstruct.factory.Mappers;
import org.mapstruct.Mapper;
import org.mapstruct.Mappings;
import org.mapstruct.factory.Mappers;

import java.util.List;

@Mapper
public interface MemberConvert {

    MemberConvert INSTANCE = Mappers.getMapper(MemberConvert.class);

    @Mappings({})
    MemberVO convert(Member member);
    @Mappings({})
    List<MemberExcelVO> convert(List<Member> memberList);

    List<MemberListVO> convertList(List<Member> list);
}
